package game.starts;


public class Starts {

    private int corporeity;
    private int strength;
    private int power;

    private int blood;
    private int phyAttack;
    private int phyArmor;

    private int magPower;
    private int magAttack;
    private int magArmor;
    private int critX;//暴击倍数
    private double criCha;//暴击率
    private double damRed;//减伤
    private double counterwound;//反伤

    public Starts(int corporeity, int strength) {
        this.corporeity = corporeity;
        this.strength = strength;
    }

    public int getCorporeity() {
        return corporeity;
    }

    public void setCorporeity(int corporeity) {
        this.corporeity = corporeity;
    }

    public int getStrength() {
        return strength;
    }

    public void setStrength(int strength) {
        this.strength = strength;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    public int getPhyAttack() {
        return phyAttack;
    }

    public void setPhyAttack(int phyAttack) {
        this.phyAttack = phyAttack;
    }

    public int getPhyArmor() {
        return phyArmor;
    }

    public void setPhyArmor(int phyArmor) {
        this.phyArmor = phyArmor;
    }

    public int getMagPower() {
        return magPower;
    }

    public void setMagPower(int magPower) {
        this.magPower = magPower;
    }

    public int getMagAttack() {
        return magAttack;
    }

    public void setMagAttack(int magAttack) {
        this.magAttack = magAttack;
    }

    public int getMagArmor() {
        return magArmor;
    }

    public void setMagArmor(int magArmor) {
        this.magArmor = magArmor;
    }

    public int getCritX() {
        return critX;
    }

    public void setCritX(int critX) {
        this.critX = critX;
    }

    public double getCriCha() {
        return criCha;
    }

    public void setCriCha(double criCha) {
        this.criCha = criCha;
    }

    public double getDamRed() {
        return damRed;
    }

    public void setDamRed(double damRed) {
        this.damRed = damRed;
    }

    public double getCounterwound() {
        return counterwound;
    }

    public void setCounterwound(double counterwound) {
        this.counterwound = counterwound;
    }

    @Override
    public String toString() {
         return "属性：" + '\n' +
                "血量=" + blood +
                "   物攻=" + phyAttack +
                "   物抗=" + phyArmor + '\n' +
                "蓝量=" + magPower +
                "   魔攻=" + magAttack +
                "   魔抗=" + magArmor + '\n' +
                "暴击倍数=" + critX +
                "暴击率=" + criCha + '\n' +
                "减伤=" + damRed +
                "反伤=" + counterwound;
    }
}
